package com.itsitio.dbloader.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.SessionAttributes;
import org.springframework.web.servlet.ModelAndView;


@Controller
@SessionAttributes("usuarioLogeado")
@RequestMapping("/login/*")

public class LoginController extends BaseController{

//	@Autowired
//	DatoSrv datoService;
	
	@RequestMapping("/login/loginForm.do")
	public ModelAndView showLoginForm() {
		
//		List<Dato> datos = datoService.obtenerTodos(true);
//		for (Dato dato : datos) {
//			System.out.println(dato.getTipo()+";"+dato.getValor());
//		}
		
		return new ModelAndView("login/loginForm");
		}

}
